<div class="classChiTietTin">
    <?php foreach($result as $item){ ?>
            <img src="<?=base_url('upload/tin/'.$item->hinh)?>" width='140px' height='100px'/>
            <span class='spanTen'><?=$item->ten?><br /></span>
            <?=$item->tomtat?><br /><br />
            <?=$item->noidung?>
    <?php } ?>
</div>